import request from '@/util/ProRequest'

	
export function getProscheduleList(params){
	return request({
		url: '/proschedule/list',
		method: 'get',
		params
	})
}


export function addProschedule(data) {
    return request({
        url: '/proschedule/add',
        method: 'post',
        data
    })
}

export function updateProschedule(data) {
    return request({
        url: '/proschedule/update',
        method: 'put',
        data
    })
}

export function queryByCode(code) {
    return request({
        url: '/proschedule/code/' + code,
        method: 'get'
    })
}

export function deleteProschedule(id) {
    return request({
        url: '/proschedule/delete/' + id,
        method: 'delete'
    })
}

